Social rule system theory